<?php
	//important check if plugin started correctly
	if(!function_exists('plugins')) exit;

		if($_GET['sel']=='article') {
			$ttl='title_'.$_GET['language'];
			if($GLOBALS['d']->$ttl=='')
				continue;
				
			if($GLOBALS['conf']['mode_rewrite'])
				$url='article-'.read_text_mr($GLOBALS['d']->$ttl).'_'.$GLOBALS['d']->id.'.html';
			else
				$url='index.php?module=article&amp;id='.$GLOBALS['d']->id;
			
			$GLOBALS['options'].='<option value="'.$url.'">'.$GLOBALS['d']->$ttl.'</option>';
		}
?>
